#FROM ascdc/jdk8:latest
FROM java:8
MAINTAINER utrix<123@163.com>

ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m"

ARG JAR_FILE=./sentinel-dashboard.jar
COPY ${JAR_FILE} /app.jar

EXPOSE 8080

ENTRYPOINT ["java","-Dserver.port=8080","-Dcsp.sentinel.dashboard.server=localhost:8080","-Dproject.name=sentinel-dashboard","-jar","/app.jar"]
